home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15431 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: user2.mnsinc.com!huang
  2. From: huang@mnsinc.com (Szu-Wen Huang)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Help: wwwwais won't compile for me!
  5. Date: 18 Apr 1996 22:59:40 GMT
  6. Organization: Monumental Network Systems
  7. Message-ID: <4l6hgs$ebe@news1.mnsinc.com>
  8. References: <gpardi-1704962347100001@dn106.seacoast.com>
  9. NNTP-Posting-Host: user.mnsinc.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. George Pardi (gpardi@seacoast.com) wrote:
  13. [snip]
  14. : Using the gcc compiler, I tried a number of syntaxes, all to no avail.  In
  15. : each case I got an error message (see below).  I searched the Web for
  16. : documentation on gcc and tried a couple of switches, but the results were
  17. : the same each time.  In a couple of case I ended up with an "a.out" file. 
  18. : I deleted those and started over, this time trying the switched below. 
  19. : Anyone have any ideas?
  20. [snip]
  21. : northshore% gcc wwwwais.25.c -o wwwwais
  22. : wwwwais.25.c: In function `parsetitle':
  23. : wwwwais.25.c:1377: warning: function returns address of local variable
  24. : wwwwais.25.c:1394: warning: function returns address of local variable
  25. : wwwwais.25.c:1408: warning: function returns address of local variable
  26. : wwwwais.25.c:1412: warning: function returns address of local variable
  27.  
  28. This gives me a good idea what's wrong with the program, but it's
  29. best if you post the function in question.  It's a bit too much to
  30. ask us to FTP that code just to figure out what's wrong ;).  Just
  31. post the function 'parsetitle' if it's not terribly long.
  32.